home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
comm
/
bgft302.zip
/
BGFT300B.EXE
/
BGFTDZTL.SLT
< prev
next >
Wrap
Text File
|
1993-03-03
|
1KB
|
28 lines
// Version 3.02 BackGround File Transfer
// BGFTDZTL.SLT: Telix script for BGFT Zmodem download.
// Copyright (c) 1990-1993 Dirac Systems
// Telix is a trademark of Exis Inc.
str command[80]; // Command string for BGFTOPT.
str temp[80]; // Temporary concatenation string.
main()
{
command = "/q"; // Start command line.
strcat(command," /a"); // Acknowledge any error.
strcat(command," /r");
itos(get_port(),temp); // Find out where we are connected.
strcat(command,temp); // Reconnect existing comm port.
strcat(command," /b");
itos(get_baud(),temp); // Find out what is the baud rate.
strcat(command,temp); // Set baud rate for resident.
//
// Zmodem Download
//
strcat(command," /~5"); // This protocol is Zmodem dnld.
strcat(command," /s"); // Start to send file.
prints(command); // Tell user the command string.
run("bgftopt.exe",command,2);
exittelix(0,0); // Leave Telix; don't hangup line.
} // Now enjoy background Zmodem dnld.